{config_load file="$language/lang.conf" section="address_book"}
 <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="33" height="37"><img src="{$tpl_path}img/shop1/box_heading1.gif" width="33" height="37" alt="" /></td>
    <td class="box_heading2"><a href="http://shopos/2.4.3/upload/products_new.php">{#heading_address#}</a></td>
    <td width="5" height="37"><img src="{$tpl_path}img/shop1/box_heading3.gif" width="5" height="37" alt="" /></td>
  </tr>
</table>
{$FORM_ACTION}
{if $error!=''}
<div class="contacterror">{$error}</div>
{/if} 
<div class="page">
<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
<div class="pagecontent">

<p>
<span class="bold">{#title_standard#}</span>
</p>

<!-- Адрес -->
<dl class="AddressBook">
<dt class="AddressBook">
</dt>

<dd class="AddressBook">
{#text_standard#}
</dd>

<dd class="AddressBook">
{$DELIVERY_LABEL}
</dd>

</dl>
<!-- /Адрес -->

<!-- Адрес по умолчанию -->
<dl class="AddressBook">
<dt class="AddressBook">
<span class="bold">{#title_standard#}</span>
<br />
<img src="{$tpl_path}img/arrow_south_east.gif" alt="" />
</dt>

<dd class="AddressBook">
{$ADDRESS_DEFAULT}
</dd>

</dl>
<!-- /Адрес по умолчанию -->
<div class="clear"></div>

<p>
<span class="bold">{#title_addresses#}</span>
</p>

<!-- Список адресов -->
{foreach name=aussen item=addresses from=$addresses_data} 
<div class="clear"></div>
<dl class="AddressBookList">
<dt class="AddressBookList">
</dt>

<dd class="AddressBookList">
<span class="bold">{$addresses.NAME}</span>
</dd>

<dd class="AddressBookList">
{if $addresses.PRIMARY=='1'}<em>({#title_standard#})</em>{/if}
</dd>

<dd class="AddressBookList">
{$addresses.ADDRESS}
</dd>

</dl>

<dl class="AddressBookList">
<dt class="AddressBookList">
</dt>

<dd class="AddressBookList">
{$addresses.BUTTON_EDIT}
</dd>

<dd class="AddressBookList">
{$addresses.BUTTON_DELETE}
</dd>

</dl>
{/foreach}
<div class="clear"></div>
<!-- /Список адресов -->

<p>
{$ADDRESS_COUNT}
</p>

</div>
<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
</div>

<div class="pagecontentfooter">
{$BUTTON_BACK}&nbsp;{$BUTTON_NEW}
</div>